#!/usr/bin/env sh

# 确保脚本抛出遇到的错误
#set -e
time=$(date "+%Y-%m-%d %H:%M:%S")
#当未配置远端时，将下方的 # 移除
#git remote add origin https://gitee.com/sickeeer/life-blog.git
#当需要修改配置远端时，将下方的 # 移除
#git remote set-url origin  https://gitee.com/sickeeer/life-blog.git
git add -A
git commit -m "$time"
git push -u origin master